Backport: Minor changes in tramp-tests.el
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 22 Jun 2024 17:52:06 +0000 (19:52 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 23 Jun 2024 12:00:57 +0000 (14:00 +0200)
commitd9bd1718f9a3561f7aa233f105f78aaa7f8dc93a
tree3f184fdfdf1bc098e230e19118a2135201edb347
parent1728de5a77660dcde6b779b200e39fa96c214e28
Backport: Minor changes in tramp-tests.el

* test/lisp/net/tramp-tests.el (tramp--test-shell-file-name):
Use connection-local value.
(tramp--test-shell-command-switch): New defun.
(tramp-test28-process-file)
(tramp-test34-explicit-shell-file-name): Use it.
(tramp--test-supports-processes-p): Simplify.
(tramp--test-check-files): Use `tramp-compat-seq-keep'.
(tramp-test45-asynchronous-requests): Don't let-bind `shell-file-name'.
(tramp-test45-asynchronous-requests): Adjust timer.
(tramp-test45-asynchronous-requests): Add another test message.

(cherry picked from commit c95caade15d295fa6cc31d337028faa15142b388)
test/lisp/net/tramp-tests.el